package com.base.po.voip;

import java.util.Date;

/**
 * 商品分类
 */
public class GoodsClassify {
    private String id; // id

    private String text; // 标题

    private String pic; // 图片

    private String agentid; // 代理商id

    private Integer type; // 一级还是二级

    private Date createtime; // 时间

    private Byte datastatus; // 状态

    private String gid; // 绑定的一级id

    public Integer getAtest() {
        return atest;
    }

    public void setAtest(Integer atest) {
        this.atest = atest;
    }

    private Integer atest; // 测试

    public GoodsClassify() {
    }

    public GoodsClassify(String text) {
        this.text = text;
    }

    public GoodsClassify(String text, String pic) {
        this.text = text;
        this.pic = pic;
    }

    public GoodsClassify(String agentid, Integer type, Byte datastatus) {
        this.agentid = agentid;
        this.type = type;
        this.datastatus = datastatus;
    }

    public GoodsClassify(String agentid, Integer type, Byte datastatus, String gid) {
        this.agentid = agentid;
        this.type = type;
        this.datastatus = datastatus;
        this.gid = gid;
    }

    public GoodsClassify(String id, String text, String pic, String agentid, Integer type, Date createtime, Byte datastatus, String gid) {
        this.id = id;
        this.text = text;
        this.pic = pic;
        this.agentid = agentid;
        this.type = type;
        this.createtime = createtime;
        this.datastatus = datastatus;
        this.gid = gid;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text == null ? null : text.trim();
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getAgentid() {
        return agentid;
    }

    public void setAgentid(String agentid) {
        this.agentid = agentid == null ? null : agentid.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid == null ? null : gid.trim();
    }
}